{{ if or (ne nil .NextInSection) (ne nil .PrevInSection) }}
<div class="mb-4 relative max-w-3xl md:max-w-5xl px-6 lg:px-8 mx-auto w-full">
  {{ partial "pagination.html" . }}
</div>
{{ end }}